<#list financeList as finance>
    <tr onclick="selectFunction(this)" ondblclick = "selectFinance()">
        <td><p class="width-50px">${(pageNo -1) * pageSize + finance_index+1}</p></td>
        <td><p class="width-100px financePeriod"><#if finance.financePeriod??>${(finance.financePeriod)?string("yyyy-MM")}</#if></p></td>
        <td><p class="width-80px financeCategory"><#if finance.financeCategory??>${dict.getDictName(finance.financeCategory)}</#if></p></td>
        <td><p class="width-100px financeContractNo" onclick=""><#if finance.financeContractNo??>${finance.financeContractNo}</#if></p></td>
        <td><p class="width-100px financeCurrency"><#if finance.financeCurrency??>${dict.getDictName(finance.financeCurrency) }</#if></p></td>
        <td><p class="width-100px debitAmountHtml"><#if finance.debitAmount??>${(finance.debitAmount)?string("#,##0.00#")}</#if></p></td>
        <td><p class="width-100px creditAmountHtml"><#if finance.creditAmount??>${(finance.creditAmount)?string("#,##0.00#")}</#if></p></td>
        <td><p class="width-100px remarks"><#if finance.remarks??>${finance.remarks}</#if></p></td>
        <td><p class="width-100px"></p></td>
        <input type="hidden" class="financeId" value="${finance.financeId}"/>
        <#if finance.financeDate??>
        	<input type="hidden" class="financeDate" value="${(finance.financeDate)?string("yyyy-MM-dd")}"/>
        <#else>
        	<input type="hidden" class="financeDate" value=""/>
        </#if>
        <#if finance.accountsStatus??>
        	<input type="hidden" class="accountsStatus" value="${finance.accountsStatus}"/>
        <#else>
        	<input type="hidden" class="accountsStatus" value=""/>
        </#if>
        <#if finance.debitAmount??>
        	<input type="hidden" class="debitAmount" value="${(finance.debitAmount)?string("#")}"/>
        <#else>
        	<input type="hidden" class="debitAmount" value=""/>
        </#if>
        <#if finance.creditAmount??>
        	<input type="hidden" class="creditAmount" value="${(finance.creditAmount)?string("#")}"/>
        <#else>
        	<input type="hidden" class="creditAmount" value=""/>
        </#if>
     </tr>
</#list>